import cv2

from _0work_tools import box_filter_factor
"""
@Project: pythonPro1
@Name: translation.py
@Author: linxin_liu
@Date: 2022/10/22 10:51
图像平移。
"""


def translation(img):
    box = box_filter_factor([3, 3], 0)
    box[0][0], box[1][1], box[2][2], box[0][2], box[1][2] = 1, 1, 1, 10, 10
    h, w = len(img), len(img[0])  # 高，宽
    for i in range(0, h):
        for j in range(0, w):
            pass
    pass


if __name__ == '__main_-':
    img_ori = cv2.imread('D:/tools/image_operation/white_one.png', cv2.IMREAD_GRAYSCALE)
